Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add branch coverage stats to xml report #1057

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chiefmyron
Copy link

@chiefmyron chiefmyron commented Dec 13, 2024

Added new and elements under the element, and populated attributes appropriately. If path coverage is not enabled, the count, tested and percent attributes will all be set to 0.

I could not find a schema for the XML report to update / validate against (navigating to https://schema.phpunit.de/coverage/1.0 resulted in a 404 error).

Implements enhancement suggested in #1056.

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.35%. Comparing base (b36a500) to head (f3b093f).
Report is 25 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1057      +/-   ##
============================================
+ Coverage     84.74%   85.35%   +0.61%     
- Complexity     1360     1364       +4     
============================================
  Files            90       90              
  Lines          4673     4705      +32     
============================================
+ Hits           3960     4016      +56     
+ Misses          713      689      -24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants